package com.itboye.core.utils;

import java.math.BigDecimal;

public class ParseDouble {
	public static BigDecimal getDouble(double num) {
		BigDecimal bd = new BigDecimal(num);
		bd = bd.setScale(2, BigDecimal.ROUND_HALF_UP);
		return bd;
	}
}
